package he.widget.toast.dome;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import he.widget.toast.HToast;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void showToast(View view) {
        HToast.Loading(getApplicationContext(), "Loading...");
        HToast.success(getApplicationContext(), "Success!");
        HToast.warning(getApplicationContext(), "Warning!");
        HToast.error(getApplicationContext(), "Error!");
    }

}
